package com.example.userservice.service;

import com.example.userservice.model.Result;
import com.example.userservice.model.dto.*;
import com.example.userservice.model.vo.UserVO;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

public interface UserService {
    Result<Void> register(UserRegisterDTO userRegisterDTO);

    Result<String> login(UserLoginDTO userLoginDTO);
    
    Result<Void> resetPassword(PasswordResetDTO passwordResetDTO);

    Result<List<UserVO>> getUserList(UserPageQueryDTO userPageQueryDTO);

    Result<UserVO> getUserDetail(Long userId);

    Result<Void> updateUser(Long userId, UserUpdateDTO userUpdateDTO);
}
